updated session code for coding standards