@ghalliday - please check logic/safeness of mechanism here.