require version at top of api file