comments and method description added