added a generic select example