factored out graphics