better matching for environment features