final version for the bachelor-thesis