close #57 by adding an inputs method