you should use the interface here, not the class