list reading and reversing
minor change to get revl working