-hookedup logic and storage to read from file
-found a bug and debugged modifyoutput