Adding alternative function