debugged Lauren's code