implementing unblock functionality