added ownership qualifiers to silence warnings