Added function finding approach