updated variable x to int instead of string.