remove numpy dependency