apprentice thesis