Master's template and random