working principle of mortar