Changed Ground Check Condition