Worked on piping stuff into scanf