Move method to define