add check credits helper