changed input stuff