refactored function
refactored function

Crim/storm,carl34/storm,srishtyagrawal/storm,Aloomaio/incubator-storm,konfer/storm,rahulkavale/storm,mesosphere/storm,pczb/storm,srishtyagrawal/storm,cluo512/storm,hilfialkaff/storm,kevinconaway/storm,adityasharad/storm,srdo/storm,adityasharad/storm,nathanmarz/storm,Frostman/storm,kishorvpatil/incubator-storm,pczb/storm,rahulkavale/storm,hmcc/storm,ujfjhz/storm,revans2/incubator-storm,mesosphere/storm,ferrero-zhang/storm,gongsm/storm,ujfjhz/storm,praisondani/storm,metamx/incubator-storm,praisondani/storm,knusbaum/incubator-storm,Aloomaio/incubator-storm,carl34/storm,lcp0578/storm,erikdw/storm,kamleshbhatt/storm,carl34/storm,pczb/storm,knusbaum/incubator-storm,praisondani/storm,kevinconaway/storm,hmcc/storm,Frostman/storm,praisondani/storm,metamx/incubator-storm,cluo512/storm,pczb/storm,adityasharad/storm,nathanmarz/storm,revans2/incubator-storm,0x726d77/storm,cherryleer/storm,Frostman/storm,carl34/storm,Crim/storm,kevpeek/storm,kevinconaway/storm,nathanmarz/storm,taoguan/storm-1,knusbaum/incubator-storm,allenjin/storm,kevpeek/storm,knusbaum/incubator-storm,ujfjhz/storm,hilfialkaff/storm,Crim/storm,0x726d77/storm,sakanaou/storm,javelinjs/storm,hmcl/storm-apache,konfer/storm,cluo512/storm,kamleshbhatt/storm,allenjin/storm,metamx/incubator-storm,ujfjhz/storm,srishtyagrawal/storm,roshannaik/storm,kamleshbhatt/storm,Crim/storm,gongsm/storm,0x726d77/storm,kishorvpatil/incubator-storm,Aloomaio/incubator-storm,javelinjs/storm,0x726d77/storm,praisondani/storm,F30/storm,nathanmarz/storm,kevpeek/storm,cluo512/storm,elancom/storm,adityasharad/storm,lcp0578/storm,kevpeek/storm,0x726d77/storm,allenjin/storm,gongsm/storm,konfer/storm,revans2/incubator-storm,chrismoulton/storm,rahulkavale/storm,cluo512/storm,F30/storm,3manuek/storm-1,carl34/storm,jamesmarva/storm,raviperi/storm,kishorvpatil/incubator-storm,erikdw/storm,3manuek/storm-1,roshannaik/storm,srishtyagrawal/storm,hmcc/storm,adityasharad/storm,allenjin/storm,lcp0578/storm,ferrero-zhang/storm,roshannaik/storm,mesosphere/storm,revans2/storm,kishorvpatil/incubator-storm,revans2/storm,cluo512/storm,0x726d77/storm,metamx/incubator-storm,hmcl/storm-apache,srishtyagrawal/storm,adityasharad/storm,hilfialkaff/storm,Frostman/storm,rahulkavale/storm,taoguan/storm-1,hilfialkaff/storm,Crim/storm,carl34/storm,sakanaou/storm,ujfjhz/storm,raviperi/storm,erikdw/storm,d2r/storm-marz,cherryleer/storm,srishtyagrawal/storm,hmcl/storm-apache,raviperi/storm,sakanaou/storm,hmcc/storm,hmcl/storm-apache,revans2/incubator-storm,raviperi/storm,kevinconaway/storm,kishorvpatil/incubator-storm,lcp0578/storm,ferrero-zhang/storm,hmcl/storm-apache,kevinconaway/storm,ferrero-zhang/storm,srishtyagrawal/storm,mesosphere/storm,konfer/storm,knusbaum/incubator-storm,roshannaik/storm,sakanaou/storm,F30/storm,hilfialkaff/storm,chrismoulton/storm,3manuek/storm-1,sakanaou/storm,erikdw/storm,srdo/storm,raviperi/storm,revans2/incubator-storm,erikdw/storm,d2r/storm-marz,knusbaum/incubator-storm,nathanmarz/storm,carl34/storm,hmcc/storm,sakanaou/storm,kevpeek/storm,elancom/storm,revans2/storm,metamx/incubator-storm,d2r/storm-marz,hmcc/storm,srdo/storm,javelinjs/storm,F30/storm,revans2/storm,jamesmarva/storm,srdo/storm,kevinconaway/storm,roshannaik/storm,F30/storm,hmcl/storm-apache,taoguan/storm-1,mesosphere/storm,javelinjs/storm,adityasharad/storm,kevpeek/storm,lcp0578/storm,kishorvpatil/incubator-storm,gongsm/storm,jamesmarva/storm,kishorvpatil/incubator-storm,cherryleer/storm,roshannaik/storm,erikdw/storm,Crim/storm,Aloomaio/incubator-storm,elancom/storm,0x726d77/storm,3manuek/storm-1,Aloomaio/incubator-storm,knusbaum/incubator-storm,erikdw/storm,revans2/storm,cluo512/storm,cherryleer/storm,kamleshbhatt/storm,kamleshbhatt/storm,3manuek/storm-1,kamleshbhatt/storm,taoguan/storm-1,ujfjhz/storm,elancom/storm,chrismoulton/storm,Aloomaio/incubator-storm,chrismoulton/storm,mesosphere/storm,chrismoulton/storm,kevinconaway/storm,taoguan/storm-1,d2r/storm-marz,hmcc/storm,pczb/storm,pczb/storm,raviperi/storm,hmcl/storm-apache,jamesmarva/storm,elancom/storm,jamesmarva/storm,rahulkavale/storm,srdo/storm,raviperi/storm,ujfjhz/storm,Aloomaio/incubator-storm,gongsm/storm,roshannaik/storm,kevpeek/storm,srdo/storm,Frostman/storm,sakanaou/storm,srdo/storm,ferrero-zhang/storm,F30/storm,konfer/storm,kamleshbhatt/storm,Crim/storm,F30/storm,cherryleer/storm,allenjin/storm,pczb/storm,d2r/storm-marz