Can't cast so loop instead
Merge branch 'master' of https://github.com/bcouston/COM2002-Assignment-2