Basic rights code separation done