ugly disgusting registry usage