added creating master table