change coding sytle to numpy