Coding for grub contest