removed all numpy routines