completes deck class