added parallel derivative, a mess and does not work