added size conversion