Replaced printElement with printThis