Modified for HTX-sukkertoppen student project.