first pass at using x-data