Added new internal method ActiveDB

Replaced redundant data[used] calls