add method for testing
Signed-off-by: kba <kba@hotmail.fr>