#1: Created separate class for dispatcher