implemented sign-extender