trimmed extra code

didn't end up using that after all!