added util method