first working version of the proptype of registry :-)