improve quires and quifoy