code added for debugging