debugging attempt 2