added requirement to integer to view id