fixed decimal declaration. it was rounding to the nearest 1 instead of allowing decimal places