Added comments and displaying actions on sysout