continued on input handling