Initial code for analyzer