rearranged printing to make it site-specific