using Select Case – with Functions