database ID is passed in as argument