added new deck functionality