made several changes-still need to fix put and to fix the static number in delete