removed stupid function