add more weigth for array and boolean