debugging attempt 3