conn functions