labels for graph (somewhat buggy yet)