added settings and initialize / moved register_to_space to block