Fixed reference to function