checking if model exists at start