Fixes Functions. Should work now!