and you should really put that in an external function anyway