updated execute2 method