Go fmt'ed
Made the apply method