obstacle frame now is random