Working on nor-db