worked on register a bit