Modfied function calling sequence.