created add room method.