work in progress on crud stuff