generating items' positions