missing init_swpm added