process with new code and arguments