Minor changes (log and constructor)