Funds now get substracter

Some bugs still exist though.