i think someone could right some code that would do this for you