gives proper credits