added rand benchmark