store the method