edits: availability model to pass all tests