changed width/height to public