worked out the principles of composition for table linking
reverting mode change