Tries limited to 3, better handling