finished hadoop class