first path through code, crashes