process options in any order