full-example: remove unused functions