Any help would be greatly appreciated
Would be a great help if someone could help me write cleaner code.