sfatack_rand.c added