removed redundant partial and hooked up register