adding some changes to exec stage