added editline support