initital code for debugging only.