add example and fix included directories bug