help with the #viewing code