missed a function for size calcs