you don't even need this as a function at all (only need it as a function if its called more than once)