master implemented