Added comments and console output info