try to separate function in definition