add STR evaluation function