changing async to false