copied a few files from other tng project