use user properties instead of sql