fixes + add an example