working on math dot expressions