method for quick graphs