Adding code developed before this was a repo.