added methods to manipulate underlying db attribute