Changed comparison to static values