Refactoring uos initializer