get function by id created
deleting objects