working schedab and schedac graphs