implemented the flags on the interface