fixed register, made some change in style and search