removed granite references; used logger instead of system.out