add sizeOf method