deleted useless functios