implementing new amberDb call to generate derivatives