tweaking to debug
use parent in a way that works