Text this: On structure of certain periodic rings and near-rings