remove the weird array comparison for a simple one