added to log, working on understanding C better