Adding register directory