Basic lookup functions made.

THEY ARE BUGGED!!
error 035: argument type mismatch (argument 3)