Removed unnecessary sizeof and multuiplication