using shared main views