Substantially simplified code