simplifying things, a suggestion by Tassadar. Thanks for that :)