add brick delete function