add simple function.