public Input handle(Action action, String actorID)
{
RespondToApplication application = (RespondToApplication)action;
sim.getPlayer(application.getAgent()).enqueueInput(new ApplicationResponse(
sim.getTime(), actorID, application.wasAccepted()));
if (application.wasAccepted())
{
String old_group = dmodel.getAgentById(application.getAgent()).getGroupId();
if (old_group != null)
{