changed Card initialize to group conditions