created an input class