REFACTORED: Code adapted to the review comments.

Signed-off-by: Michael Grammling <m.grammling@external.telekom.de>