changed version
remove delete state functions