20131118b first draft implmentation up to cards