implements function on an interface, and matches function on a class now working.