Add Adrian's functions.