refactored the ones to get courses out of there. added presisent mMode