adds picker data, datasource, delegate, and pragma