worked on ifs and interp some more