crud with class practice