readded random fnction with int exclude parameter