added block for reg