implemented filter and shutdown command