minor changes to input