Pseudo-coding for the initial setup