just added some code, put in a function that I can hopefully use later