moved everthing to be clear it is just test. Added testing code