@oscarcp There were two options to solve this issue, one was to replace admin_space and user_space through out the function with foo_space and bar_space respectively, another one was to create two more attributes of the class called user_space and admin_space and assign to them the required values.

I believe that it would be better to just create these attributes to the class, rather than replacing everywhere, as it is a better practice.

Correct me if it may cause some other unforeseen issue, that i missed considering.