completed phpacademy part 6