Shared thesis functions