delete bloc function added