added A* and tuple draw