const correctness
return NULL if not found