changed filtering to flags