added a rest command -- may be temporary
defined the datagrid helper method