added basic log function