adding instructions and analytics