Source: https://theses.cz/id/gt56qt/dp_svrckova.pdf