try by printing out intermediate information