added cleaninput function