changing run to runSync for future async support