copied lab 6 with JSON for testing to current_homework