build system improved, registers added