added random function and powerup stubs