published logic