implement spawn rocket function