adding in a function to see if it will work