function calcMaxDeposit() public view returns (uint) {

        if (totalInvested <= 20 ether) {
            return 0.5 ether;
        } else if (totalInvested <= 50 ether) {
            return 0.8 ether;
        } else if (totalInvested <= 100 ether) {
            return 1 ether;
        } else if (totalInvested <= 200 ether) {
            return 1.2 ether;
        } else {
            return 1.5 ether;
        }

    }