introduced array arithmetic and comparison