getMethod logic readable in a positive way