function added

Signed-off-by: wuschLOR <wuschel@elphenbeinturm.de>