Updated syntax error with .register