swapped npex and npey to follow documentation