finally a useful method to do this, lol. saves time