add more graphite functions