introduced dynamic hash/array lookup and anonymous functions