convert to int to prompt valueerror if not set