better use of ceil