update comments
add by_name method