added getSingleInput and another comment