added save handler
added card save behaviour