reinstate commented out code