started on semantic analysis. starting to establish a structure for the methods