Adding subnet DB functions