got rid of registers