too complicated, reducing to single bootstrap file