create, delete, and update methods refactored
done refactoring for now