translated var names to english. Fixed warning causing lines. Commented out some lines causing error (segmentation fault).