allow doubles to be put in graphite