reading from database is implemented