remove numpy use so that multiple data types are allowed