add frandom support