added better example and printout