Helper function was added