add api version as option