output position and size