setting up for readline