Added function check