updated monitorapis for pep8