Define the method in the right place