added array comparison as set - first version