deleted debug comments and added comments for code understandability
deleted debug comments and added comments for code understandability_