rename check into getnew so it is clearer what it does
update doc