setting up long term master