added graphite support