Adding console log for status