basic bootstrap implementation