changed formatting in README
simplified input API