Got registers working