modified function for superannuation