working through the logic once again, got it working on the show page finally