added comments on what to implement in action.js