Another simplified solution