import and better spawn