slightly more correct input