you have to set a function