removed pseudo code from card model