add total credits