translated bad french code to english ;)