created example using shaping functions library