eliminate hardcoded registers