int.parse for Controller