fixwarning
generalize papp
update tests
update README