setting default value to status