preparing stuff for the execution