Database

two functions added