Trouble with float