implemented Master Class