Added debugging
Serial fixes