added sync to make shell