trying to change cp list to numpy