really ugly prototype of deck validation