Diploma thesis