1e working- change int to float