duck typing struct for database to be accesible by methods