Compilation with Errors

Use this if cannot get new way to work