working with interger array opperation