removed unwanted import
type safe version of sizeOf