Using Lookup Tables And Functions