updated to use string not int