working out bugs