make sane() accept options