this includes some bootstrap coding