add registry stuff