func added

Signed-off-by: Guillaume Lucas <guillaume.lucas@imina.ch>