added border randomization