Another student solution