all functionality except edit works