added vid to api