Take credits into account