added restarts. works with phantom