removed random code