added first code to class