struggling with input