How to check your function?