adding a error check on register to catch any errors/ No luck