make exec example a code snippet