pass single object into sync function