working on card editing