Rewrited some crap.