translate most of the code in english