First pass of bugdouble