add sington macro and logger class