clicking on cards worknig