added ability to select sensor size