add new function

Signed-off-by: Andras Mitzki <mitzkia@gmail.com>