Make use of case statement

More sense than cond.
Don't look through lists. Use getf instead.

Probably should use a hash table anyways for this.
Use the right argument order for GETF
Update operator accessing for delta