removed extraneous python syntax