in simple case, it works