Continued implementing the input class