allow flags to be set