Better spawn api