working debug out