making the crud work