To avoid null pointers