if statement added to cards view