Changed double into float