working except register