remove unused sizeOf method