added debug echo's