added comments and testing suggestion