convert to modern syntax