some testing debug here... needs cleanup