tighter code