random analyzer works as intened - needs some fine tuning