working basic version of GraphApp