added stuff for cards