replaced sync methods with corresponding async versions