use "get" method to wait