Added message function and delete in progress