3 card functionality added