gets version option working