Done setting up the listener method.