add db interaction for flavours