why did I not think of this! This has been causing errors that have been annoying me for ages!