added method to logs