Added comments and couts for testing