Adding makeOnline method