delete added and functioning, other functions still yielding error messages