Initial code with no error