added flags to register table