add parse function to graphite