deleted useless boolean