Added generic function offset