changed from string to int