How do credits work?