removed func