Rewritten natives code