Replaced float with double!