Completed this for a small competition.