adding flushing
passing int ids
flushing