read opts