Made a helpers file to elimate verbose code