start refactoring graphic options