added better output