make show view dynamic