add methods on vendors controller