deck parsing