added initialization of deck