changed the element datatype to int