'show checked' function and view added