Student solution