corrected the class instead of the interface