change new syntax to old syntax