added floor, rounded downwards