removed ceil functionality