Making progress, initialized the variables and functions