added the complete block to the perform operation