int was changed to double