added a way to get reg number