reverse and graph input methods