added comment
added more documentation