Minor update, change float to double