re-instated direct pointer comparison