fixing the examples + adding a builder for [types]