added support for ago function