Parent and child behaviour now works