Switched from INT(s) to DOUBLE(s)
Also commented a couple of lines