updates to remove/add, set refined. check() added

checkout() added