implemented derivatives for uniformity & groundloc