improved method registration