Added CheckFuntion
Update