moved the expresion string printing out