cleaning code for PR and added name to THANKS