make use of registry more explicit