removed giant redundant switch for different effects