added falling balls and myqueue to avoid allocation