added basic logging for future reference