#1 making view selection variable for the ascii output