removed sync statement