take the codes from NTNU :)