check for existence before derefencing