elements other than integer is taken care