implement the entrance for multi targets