finish "add card" function