Working on 2D derivation