replaced the series of IF statements in new photo services with a select case