removed hard coded deck and added a dynamically generated deck