adding randomstring function