Simplified code.