moved line 16 in deck controller to deck helper