renamed resultcollector to result on command.execute