added crazy1 function