adding logs to models