Add method to make sync call