adds check for null station