cleaned up show effects function