basic deck working