first step towards a bootloader