First version, based on chilitags samples