Changes variable names for greater clarity
Creates funtionality to check for string inputs