encapsulated saa logging into one class