Edits after some suggestions from thefringeninja - thanks Joao