changed method name to interface with controller properly