changed query for parts - faster