removed debug variable x