removed readline from tree, not sure why it was there