added primitive scoring