removed some code to put it in its own repo