skeleton of 'database'