make code sensible