implemented database - fixxed tablename