getX updated for special functions - working nicely