setting random pos