format code per Ocramius's request