java and pig completed