removed graphite code