Added extern definition to avoid usage of x