moved showviowwn to getviowwn