split graphite functions for easier testing
eliminate default_options