lesson 4: action binding refactor