removed comments and converted indentation to spaces