deck edit functions added