added logging at start of the methods