Simplified code with new method