added array lookup