> & < working but with a few bugs