Added methods to the interface class as well as tested it out