removed old function

Signed-off-by: Ofer Helman <helmanofer@gmail.com>