updated functions to remove custom veiwing area.