passing argument from execution to emit in to method