summary stuff needs debugging