made reject idea functional