parse and execute at the same time