work adding to db and select