working execute implementation