update
added more descriptive comments