added deriving data