deleted some serial print statements