Extension of the existing function