added sizeof method