removed Math.floor from final math