add getName to db