working on debugging -NH