Adding boolean flag