First version of executor