removed code used for quick access to res. view