implementation of machine.initialize()